<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<%@ include file="inc/head.jsp" %>        
    
<title>新闻管理</title>
</head>
<body>  
<!--Begin Header Begin-->

<!-- 头部 -->
<%@ include file="inc/head2.jsp" %>
	
<!-- 购物车 -->
<%@ include file="inc/shopping.jsp" %>

<!--End Header End--> 
	<div class="i_bg bg_color">
	
    <div class="m_content">

<!-- 左边 -->
<%@ include file="inc/m_left.jsp" %>

<div class="m_right">
	<p></p>
	<div class="mem_tit">资讯列表</div>
	<table border="0" class="order_tab" style="width:930px; text-align:center; margin-bottom:30px;" cellspacing="0" cellpadding="0">
		<tbody>
			<tr>
				<td width="20%">文章标题</td>
				<td width="25%">创建时间</td>
			</tr>
			<c:forEach items="${list}" var="item">
				<tr>
					<td style="display: none">${item.id }</td>
					<td>
						<a	href="ShowNewsContentServlet?id=${item.id}">${item.title}</a>
					</td>
					<td>${item.createTime}</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>

	<script type="text/javascript">
		var contextPath = "/EasyBuy";
	</script>
	<div class="pages">
		<a href="#" class="p_pre">首页</a>
		<a href="#" class="p_pre">上一页</a>
		<a href="#">1</a>
		<a href="#" class="cur">2</a>
		<a href="#">3</a>
		<a href="#">4</a>
		<a href="#" class="p_pre">下一页</a>
	<a href="#" class="p_pre">尾页</a>
	</div>

</div>
    </div>
    
<!-- 脚部 -->
<%@ include file="inc/footer.jsp" %>

</div>
</body>
</html>
